package com.zhangjie.servicemap.service;

import com.zhangjie.internalcommon.constant.AmapConfigConstants;
import com.zhangjie.internalcommon.dto.ResponseResult;
import com.zhangjie.servicemap.remote.ServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

/**
 * @Auther: zj
 * @Date: 2024/2/29 - 02 - 29 - 10:59
 * @Description: com.zhangjie.servicemap.service
 * @version: 1.0
 */
@Service
public class ServiceFromMapService {

    @Autowired
    ServiceClient serviceClient;

    /**
     * 创建服务
     * @param name
     * @return
     */
    public ResponseResult add(String name) {
        return serviceClient.add(name);
    }
}
